//
//  NSObject+FYNetworkingDeallocClearnRequest.m
//  FYNetworking
//
//  Created by Felix Yin on 2017/5/5.
//  Copyright © 2017年 Felix Yin. All rights reserved.
//

#import "NSObject+FYNetworkingDeallocClearnRequest.h"
#import <objc/runtime.h>

@implementation NSObject (FYNetworkingDeallocClearnRequest)

- (FYNetworkingDeallocClearnRequestOperation *)deallocClearnRequest{
    FYNetworkingDeallocClearnRequestOperation *operationRequest = objc_getAssociatedObject(self, @selector(deallocClearnRequest));
    if(operationRequest == nil){
        operationRequest = [[FYNetworkingDeallocClearnRequestOperation alloc] init];
        objc_setAssociatedObject(self, @selector(deallocClearnRequest), operationRequest, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
    }
    return operationRequest;
}

@end
